-- GENERATED SPELL FOR [Oakpaw] --


function spell0_10640(pUnit, Event) --@Rejuvenation,Heal--
pUnit:FullCastSpellOnTarget(12160,pUnit)
pUnit:RegisterEvent('Sorts_10640', 12000, 1)
end

function Sorts_10640(pUnit, Event)
local choix_sorts_10640 = math.random(0, 0)
if choix_sorts_10640 == 0 then
pUnit:RegisterEvent('spell0_10640', 1, 1)
end
end

function mob10640_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10640', math.random(1500, 3000), 1)
end

function mob10640_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10640_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10640_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10640, 1, 'mob10640_Action')
RegisterUnitEvent(10640, 2, 'mob10640_Leave')
RegisterUnitEvent(10640, 3, 'mob10640_Kill')
RegisterUnitEvent(10640, 4, 'mob10640_Die')
